<?php

// include function files for this application
require_once('/home/domains/uny-con.com/public_html/uny-con_fns.php'); 
if (!session_id()) { session_start(); }

if (!check_valid_user()) {
	// they are not logged in 
	do_html_header('You must be logged in', staysmall, $uny);
	echo 'You are not logged in.<br />';
	do_html_url('login.php', 'Login');
	print_brs(24);
	do_html_footer(news);
	exit;
	}


do_html_header('UNY-Con News Update', staysmall, $uny);
if(isset($_POST)) { $item = $_POST['news']; $cat = $_POST['cat']; $title = $_POST['title']; }
do_news_update($item, $cat, $title);

do_html_footer(news);
?>
